package cn.tedu.zhyl.iot.service;

import cn.tedu.zhyl.iot.pojo.dto.DeviceDto;
import cn.tedu.zhyl.iot.pojo.entity.Device;

import java.util.List;

public interface IotService {
    String getProductList(Integer page, Integer limit);

    void register(DeviceDto dto) throws Exception;

    List<Device> getDeviceList(String productId);

    void delDevice(String pk, String deviceName) throws Exception;

    Device getDeviceDetail(String productId,String deviceName) throws Exception;

    String getDeviceStatus(String productId, String deviceName) throws Exception;

    String getThingModelData(String productId, String deviceName) throws Exception;
}
